using UnityEngine;

public enum JsonType
{
    JsonUtlity,
    NewtonsoftJson
}

namespace MoonFramework.Template
{
    public class JsonManager : MonoBehaviour
    {
        private JsonManager()
        {
        }

        private static JsonManager Instance => Instance;

        //�洢Json���� ���л�
        public void SaveData<type>(type data, string fileName, JsonType jsonType) where type : class
        {
            //ȷ���洢·��
            var path = $"{Application.persistentDataPath}/{fileName}.json";
            //���л� �õ�Json�ַ���
        }
    }
}